﻿using System.Web.Mvc;

namespace Fuse8.Websites.InternalSites.TemplateWebsite.Web.FrontEnd
{
    public class FrontEndRoutes : AreaRegistration
    {
        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute("DefaultFrontEnd", "{controller}/{action}/{id}",
                             new {controller = "Home", action = "Index", id = UrlParameter.Optional},
                             new string[] { "Fuse8.Websites.InternalSites.TemplateWebsite.Web.Controllers" });


        }

        public override string AreaName
        {
            get { return "FrontEnd"; }
        }
    }
}